
<div class="wrapper col1">
  <div id="header">
    <div id="logo">
      <h1><a href="#">Moment Mobile Payments</a></h1>
    </div>
  <!--  <div id="newsletter">
      <p>Sign up to our newsletter for the latest news, updates and offers.</p>
      <form action="#" method="post">
        <fieldset>
          <legend>NewsLetter</legend>
          <input type="text" value="Name&hellip;"  onfocus="this.value=(this.value=='Name&hellip;')? '' : this.value ;" />
          <input type="text" value="Email&hellip;"  onfocus="this.value=(this.value=='Email&hellip;')? '' : this.value ;" />
          <input type="submit" name="news_go" id="news_go" value="Sign Up" />
        </fieldset>
      </form>
    </div>-->
    <br class="clear" />
  </div>
</div>
<div class="wrapper col2">
  <div id="topbar">
    <div id="topnav">
      <ul>
        <li class="active"><a href="<%=request.getContextPath() %>/jsp/viewprofile.jsp">Home</a></li>
        <li><a href="<%=request.getContextPath() %>/ProfileController?updateorsave=view">Profile</a></li>
        <li><a href="#">Instruments</a>
          <ul>
            <li><a href="<%=request.getContextPath() %>/jsp/addinstrument.jsp">Add Instrument</a></li>
      <%--       <li><a href="<%=request.getContextPath() %>#">Add Mmid</a></li>
             <li><a href="<%=request.getContextPath() %>#">Add Loyalty Card</a></li>
          --%> 
          </ul>
        </li>
        <%@ page import="com.moment.model.*"%>
        <%
		UserReg userobj = (UserReg) session.getAttribute("userObj");
        if(!userobj.equals(null))
        {
		String memtype = userobj.getTypeofmember();
		if(memtype.equalsIgnoreCase("merchant"))
		{
		%>
                <li><a href="#">Cashier</a>
          <ul>
            <li><a href="<%=request.getContextPath() %>/jsp/addcashier.jsp">Add Cashier</a></li>
            <li><a href="<%=request.getContextPath() %>/jsp/viewcashier.jsp">View Cashier</a></li>
          </ul>
        </li>
                        <li><a href="#">Location</a>
          <ul>
            <li><a href="<%=request.getContextPath() %>/jsp/addlocation.jsp">Add Location</a></li>
            <li><a href="<%=request.getContextPath() %>/jsp/viewlocation.jsp">View Location</a></li>
          </ul>
        </li>
        <%
		}
        }
        %>
      </ul>
    </div>
    <!--<div id="search">
      <form action="#" method="post">
        <fieldset>
          <legend>Site Search</legend>
          <input type="text" value="Search Our Website&hellip;"  onfocus="this.value=(this.value=='Search Our Website&hellip;')? '' : this.value ;" />
          <input type="submit" name="go" id="go" value="Search" />
        </fieldset>
      </form>
    </div>-->
    <br class="clear" />
  </div>
</div>


